<?php
namespace Home\Controller;

use Think\Controller;

class CardController extends Controller
{
    public function index()
    {

        $card = D('Card');
        $arr = $card->relation(true)->select();
        echo '<pre>';
        print_r($arr);
        echo '</pre>';
    }


}

